package com.sfpay.coreplatform.member.valueobject.tmo;

import java.util.Date;

import com.sfpay.coreplatform.member.common.enums.CertType;
import com.sfpay.coreplatform.member.common.enums.ChannelCode;
import com.sfpay.coreplatform.member.common.enums.DealerFlag;
import com.sfpay.coreplatform.member.common.enums.MemberStatus;
import com.sfpay.coreplatform.member.common.enums.MemberType;
import com.sfpay.coreplatform.member.common.enums.SafeFlag;


/**
 * 
 * 
 * 类说明：
 * 会员信息主表
 * 
 * <p>
 * 详细描述：
 * 对应会员表 MEMBER_INFO 
 * 
 * @author 312932
 *   
 * CreateDate: 2012-2-2
 */
public class MemberInfo implements java.io.Serializable 
{
	private static final long serialVersionUID = 3947499035400314591L;

	/**
	 * 会员表ID
	 */
	private Long memberId;
	
	/**
	 * 会员号
	 */
	private Long memberNo;
	
	/**
	 * 会员类型
	 */
	private MemberType memberType;
	
	/**
	 * 会员名称（个人真实姓名/企业名称）
	 */
	private String memberName;	
	
	/**
	 * 会员状态
	 */
	private MemberStatus status;
	
	/**
	 * 商户标识
	 */
	private DealerFlag dealerFlag;
	
	/**
	 * 非实名认证标识
	 * N未实名认证、 Y实名认证
	 */
	private String nameAuthFlag;
	
	/**
	 * 安全级别
	 */
	private SafeFlag safeFlag;
	
	/**
	 * 会员来源
	 */
	private String memberSrc;
	
	/**
	 * 活动
	 * 网站推广等
	 */
	private String active;
	
	/**
	 * 渠道 
	 */
	private ChannelCode channel;
	
	/**
	 * 证件类型代码 
	 */
	private CertType certTypeCode;
	
	/**
	 * 证件号码
	 */
	private String certNo;
	
	/**
	 * 证件有效起始日期
	 */
	private Date certValidBeginDate;
	
	/**
	 * 证件有效结束日期
	 */
	private Date certValidEndDate;

	/**
	 * 创建时间
	 */
	private Date createDate;
	
	/**
	 * 系统来源:表中必须字段（重构业务上不需要）
	 */
	private String sysSource;

	public Long getMemberNo()
	{
		return memberNo;
	}

	public void setMemberNo(Long memberNo)
	{
		this.memberNo = memberNo;
	}

	public MemberType getMemberType()
	{
		return memberType;
	}

	public void setMemberType(MemberType memberType)
	{
		this.memberType = memberType;
	}

	public String getMemberName()
	{
		return memberName;
	}

	public void setMemberName(String memberName)
	{
		this.memberName = memberName;
	}

	public MemberStatus getStatus()
	{
		return status;
	}

	public void setStatus(MemberStatus status)
	{
		this.status = status;
	}

	public DealerFlag getDealerFlag()
	{
		return dealerFlag;
	}

	public void setDealerFlag(DealerFlag dealerFlag)
	{
		this.dealerFlag = dealerFlag;
	}

	public String getNameAuthFlag()
	{
		return nameAuthFlag;
	}

	public void setNameAuthFlag(String nameAuthFlag)
	{
		this.nameAuthFlag = nameAuthFlag;
	}

	public SafeFlag getSafeFlag()
	{
		return safeFlag;
	}

	public void setSafeFlag(SafeFlag safeFlag)
	{
		this.safeFlag = safeFlag;
	}

	public String getMemberSrc()
	{
		return memberSrc;
	}

	public void setMemberSrc(String memberSrc)
	{
		this.memberSrc = memberSrc;
	}

	public String getActive()
	{
		return active;
	}

	public void setActive(String active)
	{
		this.active = active;
	}

	public ChannelCode getChannel()
	{
		return channel;
	}

	public void setChannel(ChannelCode channel)
	{
		this.channel = channel;
	}

	public CertType getCertTypeCode()
	{
		return certTypeCode;
	}

	public void setCertTypeCode(CertType certTypeCode)
	{
		this.certTypeCode = certTypeCode;
	}

	public String getCertNo()
	{
		return certNo;
	}

	public void setCertNo(String certNo)
	{
		this.certNo = certNo;
	}

	public Date getCertValidBeginDate()
	{
		return certValidBeginDate;
	}

	public void setCertValidBeginDate(Date certValidBeginDate)
	{
		this.certValidBeginDate = certValidBeginDate;
	}

	public Date getCertValidEndDate()
	{
		return certValidEndDate;
	}

	public void setCertValidEndDate(Date certValidEndDate)
	{
		this.certValidEndDate = certValidEndDate;
	}

	public Date getCreateDate()
	{
		return createDate;
	}

	public void setCreateDate(Date createDate)
	{
		this.createDate = createDate;
	}

	public String getSysSource()
	{
		return sysSource;
	}

	public void setSysSource(String sysSource)
	{
		this.sysSource = sysSource;
	}

	public Long getMemberId()
	{
		return memberId;
	}

	public void setMemberId(Long memberId)
	{
		this.memberId = memberId;
	}
}